package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户反馈对象 tb_feedback
 * 
 * @author yy
 * @date 2024-08-14
 */
public class Feedback extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long fbid;

    /** 用户id */
    @Excel(name = "用户id")
    private String openid;

    /** 反馈详情 */
    @Excel(name = "反馈详情")
    private String fbDecription;

    /** 反馈状态（0未读，1处理中，2处理完毕） */
    @Excel(name = "反馈状态", readConverterExp = "0=未读，1处理中，2处理完毕")
    private Long fbState;

    /** 反馈时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "反馈时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date fbTime;

    /** 管理员id */
    @Excel(name = "管理员id")
    private Long adminId;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String replyContent;

    /** 完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date settleTime;

    public void setFbid(Long fbid) 
    {
        this.fbid = fbid;
    }

    public Long getFbid() 
    {
        return fbid;
    }
    public void setOpenid(String openid) 
    {
        this.openid = openid;
    }

    public String getOpenid() 
    {
        return openid;
    }
    public void setFbDecription(String fbDecription) 
    {
        this.fbDecription = fbDecription;
    }

    public String getFbDecription() 
    {
        return fbDecription;
    }
    public void setFbState(Long fbState) 
    {
        this.fbState = fbState;
    }

    public Long getFbState() 
    {
        return fbState;
    }
    public void setFbTime(Date fbTime) 
    {
        this.fbTime = fbTime;
    }

    public Date getFbTime() 
    {
        return fbTime;
    }
    public void setAdminId(Long adminId) 
    {
        this.adminId = adminId;
    }

    public Long getAdminId() 
    {
        return adminId;
    }
    public void setReplyContent(String replyContent) 
    {
        this.replyContent = replyContent;
    }

    public String getReplyContent() 
    {
        return replyContent;
    }
    public void setSettleTime(Date settleTime) 
    {
        this.settleTime = settleTime;
    }

    public Date getSettleTime() 
    {
        return settleTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fbid", getFbid())
            .append("openid", getOpenid())
            .append("fbDecription", getFbDecription())
            .append("fbState", getFbState())
            .append("fbTime", getFbTime())
            .append("adminId", getAdminId())
            .append("replyContent", getReplyContent())
            .append("settleTime", getSettleTime())
            .toString();
    }
}
